package com.dangdang.interview.sort;

import java.io.Serializable;

public class Student implements Serializable{

	/**
	 * chinese math english 从小到大
	 */
	private static final long serialVersionUID = 1L;

	private String name;
	
	private Integer chinese;
	
	private Integer math;
	
	private Integer english;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getChinese() {
		return chinese;
	}

	public void setChinese(Integer chinese) {
		this.chinese = chinese;
	}

	public Integer getMath() {
		return math;
	}

	public void setMath(Integer math) {
		this.math = math;
	}

	public Integer getEnglish() {
		return english;
	}

	public void setEnglish(Integer english) {
		this.english = english;
	}

	public Student(String name, Integer chinese, Integer math, Integer english) {
		super();
		this.name = name;
		this.chinese = chinese;
		this.math = math;
		this.english = english;
	}

	public Student() {
		super();
	}

	@Override
	public String toString() {
		return "Student [name=" + name + ", chinese=" + chinese + ", math=" + math + ", english=" + english + "]";
	}
	
}
